import { createRouter, createWebHashHistory} from "vue-router";
const routes  = [
    {
        path: "/",
        redirect: "/tongtai",
    },
    {
        path: "/tongtai",
        name: "tongtai",
        component: () =>import("../view/tongtai/index.vue"),
    },
    {
        path: "/test",
        name: "test",
        component: () =>import("../view/test/index.vue"),
    }
];

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;

